package com.ruoyi.dynamic.model.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;


@Data
@EqualsAndHashCode(callSuper = false)
@TableName("youban_room_mai_record")
@ApiModel(value = "RoomMaiRecord对象", description = "房间上麦记录表")
public class RoomMaiRecord extends BaseEntity<RoomMaiRecord> {

    @ApiModelProperty(value = "房间类型名称")
    private String name;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "房间id")
    private Long roomId;

    @ApiModelProperty(value = "房间号")
    private String roomNumber;

    @ApiModelProperty(value = "0待同意1麦上2结束")
    private Integer status;

    @ApiModelProperty(value = "下麦时间")
    private Date endTime;

    @ApiModelProperty(value = "上麦所需金额")
    private BigDecimal money;

    @Schema(description = "0上麦1连线")
    private Integer type;

    @Schema(description = "麦号")
    private Integer maiNum;

    @ApiModelProperty(value = "用户昵称")
    private String userNickName;

    @ApiModelProperty(value = "用户头像")
    private String userPhoto;

    @Schema(description = "是否静音 0否1是")
    private Integer isSilence;

    @Schema(description = "0星光嘉宾1心动嘉宾")
    private Integer starLocation;

}
